package com.cherry.networksdk

import com.cherry.sdk.http.converter.ValueEnum


enum class Role(val type: Int, val nick: String) : ValueEnum {
    NONE(0, "没有"),
    ADMIN(1, "管理员"),
    MALL(2, "商场"),
    SHOP(3, "商户"),
    ASSISTANT(4, "店员");

    override val value: Int = type

    override fun toString(): String {
        return "Role(type=$type, nick=$nick)"
    }


}